import axios from 'axios';

/**
 * 获取明细
 */
export function getFuelPriceAnalysisData() {
    return axios.post('/api/v1/analysis/fuelPrice/current');
}
/**
 * 获取饼图数据
 */
export function getPieData() {
    return axios.post('/api/v1/analysis/fuelConsume');
}
/**
 * 获取历史价格
 */
export function getHistoryPriceList(payload: any) {
    return axios.post('/api/v1/analysis/fuelPrice/history', payload);
}
/**
 * 获取燃料下拉
 */
export function getFuelList() {
    return axios.post('/api/v1/config/fuel/list');
}
/**
 * 获取加注枪信息
 */
export function getGunList() {
    return axios.post('/api/v1/analysis/fuelGun');
}
/**
 * 获取班组时间
 */
export function getTeamTime() {
    return axios.post('/api/v1/config/getCurrentTeam');
}
